package com.xiaoyi.springboot.enums;


import com.xiaoyi.springboot.enums.service.EnumService;

public enum ProductType implements EnumService {


    CITY(1,"城市"),
    ITEM(2,"条目");


    private Integer value;
    private String desc;

    ProductType(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
